import { lazy } from "react";

// 创建路由表
const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    element: lazy(() => import("../views/Home/Home.tsx")),
  },
];
export default routes 